<div>
    <h2>
        <fa-icon [icon]="'check'"></fa-icon>&nbsp;<span>将JDL模型应用到项目</span>
    </h2>
    <jhi-alert></jhi-alert>
    <hr/>
    <jhi-git-provider-alert [tab]="'design-entities-apply'"></jhi-git-provider-alert>
    <jhi-git-provider (sharedData)="updateSharedData($event)"></jhi-git-provider>
    <p class="text-center" *ngIf="isAtLeastOneGitProviderAvailableAndConfigured()">
        <button class="btn btn-primary" (click)="applyJdl()" [disabled]="!isGitProviderComponentValid">
            <span>
                是的，应用此JDL模型
            </span>
        </button>&nbsp;
        <button class="btn btn-dark" [routerLink]="['/design-entities']">
            <span>
                不，取消此操作
            </span>
        </button>
    </p>
</div>
